<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>demo案例</title>
</head>
<body>
    <div>
        <h2 th:text="${msg}"></h2>
        <h4>
            <a href="www.taobao.com" th:href="${link}">去百度</a><br/>
        </h4>
    </div>
</body>
</html>